package com.itheima.reggie.service;

import com.itheima.reggie.pojo.ShoppingCart;

import java.time.LocalDateTime;
import java.util.List;

public interface ShoppingCartService {
    ShoppingCart add(ShoppingCart shoppingCart);
    ShoppingCart subNumber(ShoppingCart shoppingCart);
    List<ShoppingCart> findCartItemByUserId(Long userId);
    void deleteCartItemByUserId(Long userId);
}
